substring c# after character

43

substring c# after character -

var result = str.Substring(str.LastIndexOf('-') + 1);

Comments

Submit
0 Comments